Xbasic
EXTENT_HEIGHT Function
Syntax
Height as N = EXTENT_HEIGHT()
Arguments
- Height
The height of the print image.
Description
Get the height of the page.
Discussion
The EXTENT_HEIGHT()function is available for use inside of the code section of the UI_PRINTER_DRAW() function. It returns the height of the print image in inches. Used only in the code section of UI_PRINTER_DRAW().
This section of code uses EXTENT_HEIGHT() to determine the height of the print image being created.
page_description = <<%code% ... 'this tells me how big the page is in inches page_width = extent_width() page_height = extent_height() ... %code%
See Also